let myPlugin = {}

myPlugin.install = function (Vue, option) {
    console.log(option)
    Vue.directive(option, (element, raw) => {
        console.log(element, raw)
    })
}
export default myPlugin